{namespace dkpoints.status.templates}

/**
 * Load the base status window.
 */
{template .loadBase}
  <div id="statusHeader">Page Status</div>
  <button class="statusButton" id="statusCloseButton">&gt;&gt;</button>
  <button class="statusButton" id="statusClearButton">Clear All</button>
  
  <div id="statusWrapper"><div id="statusContent">
  </div></div>
{/template}

/**
 * New message
 * @param message The message
 */
{template .statusMessage}
 <div class="statusMessage">{$message}</div>
{/template}

/**
 * New Status Group /w Message
 * @param groupname The name of the group
 * @param message Object with a .message property containing the message text.
 */
{template .newGroup}
 <div class="statusGroup">
  <div class="statusGroupHeader">{$groupname}</div>
  {call .statusMessage data="$message" /}
 </div>
{/template}

